#!/bin/bash
pidstr=`cat /var/tmp/ip_server.pid`
pid=${pidstr%%,*}
ppid=${pidstr##*,}
kill $pid
if [ $? -eq 0 ]; then
	echo "$pid exit"
fi
kill $ppid
if [ $? -eq 0 ]; then
	echo "$ppid exit"
fi
